import { NgModule }       from '@angular/core';
import { BrowserModule }  from '@angular/platform-browser';
import { FormsModule }    from '@angular/forms';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppComponent }     from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { DashBoardComponent } from './dash-board/dash-board.component';
import {HttpClientModule} from '@angular/common/http';
import { MessageComponent } from './message/message.component';
import { ChatComponent } from './chat/chat.component';
import {HostsModule} from "./host/host.module";
import { LoginComponent } from './login/login.component';
import { RegisterComponent } from './register/register.component';


@NgModule({
  imports: [
    BrowserModule,
    FormsModule,
    HostsModule,
    AppRoutingModule,
    HttpClientModule,
    BrowserAnimationsModule
  ],
  declarations: [
    AppComponent,
    DashBoardComponent,
    MessageComponent,
    ChatComponent,
    LoginComponent,
    RegisterComponent,
  ],
  bootstrap: [ AppComponent ]
})
export class AppModule {
}
